home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / maximus / protocol.zip / PROTO129.TXT < prev   
Internet Message Format  |  1992-05-08  |  8KB

  1. From:    Steve Antonoff                         Area: Protocols
  2. To:      Anyone                                  3 May 92 21:57:50
  3. Subject: external protocols with 2.01b          
  4.  
  5. I'm trying to implement YmodemBatch as an external protocol using the 
  6. PROTOCOL.CTL file that came with Maximus, modifying the entry for MobyTurbo 
  7. Zmodem to handle YmodemBatch.
  8. Downloads work fine.
  9. Uploads work as far as the file transfer goes, but MAXIMUS always reports 
  10. "file transfer aborted" and never asks for a file description.  The DSZ02.CTL 
  11. and DSZ02.LOG files are both created in the MAXIMUS main directory (which 
  12. happens to be X:\, a subst drive name for C:\MAX).
  13. Any hints as to what I'm doing wrong?
  14. Steve
  15.  
  16.  
  17.  
  18. --------------= Brought to you compliments of Plastic Tower  =---------------
  19.  
  20. From:    Eric Ulken                             Area: Protocols
  21. To:      Nik Ellwood                             5 May 92 10:59:22
  22. Subject: HS/Link                                
  23.  
  24. On <May 02 16:17>, Nik Ellwood (3:632/359) scribbled something like this:
  25.  NE> Having only recently tried out HS/Link and realised what an 
  26.  NE> impressive protocol it is, I was wondering how it performs under 
  27.  NE> Maximus (functionality and compatibility), and if someone would 
  28.  NE> kindly post the protocol.ctl setup and inform me of any other 
  29.  NE> necessary configuration tips.
  30.     Sure...  It works great!  Here's part of my Protocol.Ctl:
  31. Protocol HS/Link
  32.         Type            Batch
  33.         Type            Bi
  34.         LogFile         HSLink%K.Log
  35.         ControlFile     HSLink%K.Ctl
  36.         DownloadCmd     Command.Com C:\ /e:256 /c HsMax C:\Max\HSLink%K.Log 
  37. -p%P -uE:\Max\File\S_Upload -nf -nt -nv @C:\Max\HSLink%K.Ctl
  38.         UploadCmd       Command.Com C:\ /e:256 /c HsMax C:\Max\HSLink%K.Log 
  39. -p%P -uE:\Max\File\S_Upload -nf -nt -nv @C:\Max\HSLink%K.Ctl
  40.         DownloadString  %s
  41.         UploadString
  42.         DownloadKeyword h
  43.         UploadKeyword   H
  44.         FilenameWord    10
  45.         DescriptWord    0
  46. End Protocol
  47.     And here's my HsMax.Bat:
  48. @Echo Off
  49.         Set DSZLOG=%1
  50.         C:\Max\HSLink %2 %3 %4 %5 %6 %7 %8 %9
  51.         Set DSZLOG=
  52.     Works like a charm!  Good luck...
  53.                                                                         -EU
  54.  
  55.  
  56. --------------= Brought to you compliments of Plastic Tower  =---------------
  57.  
  58. From:    Ken Grainger                           Area: Protocols
  59. To:      Nik Ellwood                             5 May 92 18:32:26
  60. Subject: HS/Link                                
  61.  
  62. Hello Nik!
  63. While scrying the countryside, I heard Nik Ellwood say to All:
  64.  NE> Having only recently tried out HS/Link and realised what an impressive
  65.  NE> protocol it is, I was wondering how it performs under Maximus
  66.  NE> (functionality and compatibility), and if someone would kindly post the
  67.  NE> protocol.ctl setup and inform me of any other necessary configuration
  68.  NE> tips.
  69. Functions wonderfully.  No other configuration necessary.
  70.  
  71. -------Cut Here-------Protocol.ctl
  72.  Protocol HS/Link
  73.          Type            Batch
  74.          Type            Bi
  75.          LogFile         Hslk%K.Log
  76.          ControlFile     Hslk%K.Ctl
  77.          DownloadCmd     4dos.com /c hslk Hslk%K.Log -P%P -B%W -U%V 
  78. @%x:Hslk%K.Ctl
  79.          UploadCmd       4dos.com /c hslk Hslk%K.Log -P%P -B%W -U%V 
  80. @%x:Hslk%K.Ctl
  81.          DownloadString  %s
  82.          UploadString
  83.          DownloadKeyword h
  84.          UploadKeyword   H
  85.          FilenameWord    10
  86.          DescriptWord    0
  87.  End Protocol
  88. -------Cut Here-------
  89. You'll notice that the commands are identical.  That is by design.  Try it out.
  90.  
  91.  
  92. -------Cut Here-------HSLK.BAT
  93. @echo off
  94. set dszlog=%1
  95. HSLINK -hx -r -k -o -a %2&
  96. set dszlog=d:\max\dsztemp.log
  97. -------Cut Here-------
  98. If not using 4Dos, replace %2& with %2 %3 %4 %5 Etc.
  99.  NE> Thanks in advance.
  100. Your welcome after the fact!
  101.  NE>  ! Origin: Windows? WINDOWS?!? Hahahahehehehohohoho. (3:632/359)
  102. Exactly!
  103. Ken
  104.  
  105.  
  106. --------------= Brought to you compliments of Plastic Tower  =---------------
  107.  
  108. From:    Chris Albertsen                        Area: Protocols
  109. To:      Fellow Maximus Dudes                    7 May 92 13:44:14
  110. Subject: Protocol.ctl                           Sent UpdReq 
  111.  
  112. Hey All,
  113.         I remember a couple weeks back, someone was asking about a problem 
  114. they were having with the external protocols they were trying to install.  I 
  115. remember asking the same question about a month ago too.
  116.         The Prob was getting that all "Unable to create (whatever).log".  I 
  117. think I found out a few things that may help some of the other newbees out 
  118. there in installing external protocols.  I'll use SZmodem as an example.
  119.         This is kinda what my entry looks like:
  120. Protocol !SZmodem
  121. type batch
  122. Controlfile     \max\szmod%K.ctl
  123. logfile         \max\szmod%K.ctl
  124. downloadcmd     command /c \max\proto\szxfer \max\szmod%K.log %P %W sz         
  125.         @\max\szmod%K.ctl
  126. uploadcmd       command /c \max\proto\szxfer \max\szmod%K.log %P %W rz %V
  127. downloadsting   %s
  128. uploadstring
  129. downloadKeyword z
  130. uploadkeyword   Z
  131. filenameword    10
  132. descriptword    0
  133. end protocol
  134.         I learned not to assume anything with this.  Do not assume max knows 
  135. the correct paths to anything.  I put the paths in log, ctl files, and the 
  136. up/down commands.  It took care of some of the problems.        
  137.         Now the batch file was the tricky part.  It was an easy batch file, 
  138. don't get me wrong, but the problem was so simple, I over looked it time and 
  139. time again.
  140. echo off
  141. set dszlog=%1
  142. szmodem port %2 speed %3 /szturbo /nolog /dl /hard %4 %5
  143. set dszlog=
  144.         This was the batch file I started using, but it had one problem.  It 
  145. causes max to come back with the error, "Can's open the Szmod00.log".  
  146. Something like that.  DOS was also returning a "Bad command or file name" 
  147. error from the batch file, So I knew when the prob was.
  148.         I took the echo off out of the batch file, and watched, hitting the 
  149. pause button over and over again, going step by step.  Here's what I say.  
  150. See if you can see the prob.
  151. C:\MAX> SET DSZLOG=%1
  152. C:\MAX> SZMODEM PORT 2 SPEED 9600 /SZTURBO /NOLOG /DL /HARD ......SO ON
  153. C:\MAX> BAD COMMAND OR FILE NAME
  154.         Hmmm.  Look.  I put the Szxfer.bat file, the one above in \MAX\PROTO 
  155. as you saw in the .CTL example.  But for some reason, max was calling 
  156. SZxfer.bat out of the correct path ie. \max\proto, but did not change it to 
  157. such.  The path stayed to \max.....so, that was the whole problem.  
  158.         So I changed the .BAT to look like this.
  159. SET DSZLOG=%1
  160. CD\MAX\PROTO
  161. SZMODEM PORT %2 SPEED %3 /SZTURBO /NOLOG /DL /HARD %4 %5
  162. CD\MAX
  163. SET DSZLOG=
  164.         Walla!  It worked like a champ!
  165.         I hope this helped SOMEONE out there out.  It took me a couple days to 
  166. figure this out.  I'm almost bald!  
  167.         I've been running TopicX on the muffin echo now for about 3 months, 
  168. and have a file called PROTOCOL.ARJ.  It is extracts with protocol examples 
  169. in it, and such.  If you are interested in getting it, just freq it, and you 
  170. got it, but hurry.
  171.         I'm in the military, and moving to Japan for two years.  The board is 
  172. going down, here, on the 13th of this month.  I'll send a copy of this file 
  173. to Jesse David Hollington at 225/1, and if he thinks it's any good, He'll 
  174. have it up on his board. (I hope).
  175.         Chris
  176.  
  177.  
  178. --------------= Brought to you compliments of Plastic Tower  =---------------
  179.  
  180.